//
//  BranchPositionModel.m
//  ShangHaiHuDongApp
//
//  Created by 刘应平 on 2017/6/18.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "BranchPositionModel.h"

@implementation BranchPositionModel
- (NSString *)description{
    return [self yy_modelDescription];
}

- (CGFloat)HEIGHT{
    CGFloat height = 0.0;
    if (self.DEPTABBREVIATION.length != 0) {
        height = [CalculateLabelHeight calculateLabeHeightWithString:self.DEPTABBREVIATION font:15 * [UIScreen zj_textFontScale] width:[UIScreen zj_screenWith] - 172 * [UIScreen zj_screenWScale] space:5 * [UIScreen zj_screenHScale]];
    }else{
        height = [CalculateLabelHeight calculateLabeHeightWithString:self.DEPT_NAME font:15 * [UIScreen zj_textFontScale] width:[UIScreen zj_screenWith] - 172 * [UIScreen zj_screenWScale] space:5 * [UIScreen zj_screenHScale]];
    }
    return height;
    
}
- (void)setORGCONCENTER_COMMENT:(NSString *)ORGCONCENTER_COMMENT{
    _ORGCONCENTER_COMMENT = ORGCONCENTER_COMMENT;
    self.CONTENTHEIGHT = [CalculateLabelHeight calculateLabeHeightWithString:ORGCONCENTER_COMMENT font:16 * [UIScreen zj_textFontScale] width:[UIScreen zj_screenWith] - 30 * [UIScreen zj_screenWScale] space:5 * [UIScreen zj_screenHScale]];
}


@end
